.class Lcom/xingbook/ui/a/b;
.super Ljava/util/TimerTask;


# instance fields
.field final synthetic a:Lcom/xingbook/ui/a/a;

.field private final synthetic b:Landroid/util/SparseArray;


# direct methods
.method constructor <init>(Lcom/xingbook/ui/a/a;Landroid/util/SparseArray;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/ui/a/b;->a:Lcom/xingbook/ui/a/a;

    iput-object p2, p0, Lcom/xingbook/ui/a/b;->b:Landroid/util/SparseArray;

    invoke-direct {p0}, Ljava/util/TimerTask;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 5
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    const/4 v4, 0x0

    iget-object v0, p0, Lcom/xingbook/ui/a/b;->a:Lcom/xingbook/ui/a/a;

    invoke-static {v0}, Lcom/xingbook/ui/a/a;->a(Lcom/xingbook/ui/a/a;)I

    move-result v0

    if-eqz v0, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/ui/a/b;->a:Lcom/xingbook/ui/a/a;

    iget-object v0, v0, Lcom/xingbook/ui/a/a;->b:Lcom/xingbook/ui/b/a;

    iget-object v0, v0, Lcom/xingbook/ui/b/a;->m:Landroid/os/Handler;

    const/16 v1, 0x12

    iget-object v2, p0, Lcom/xingbook/ui/a/b;->a:Lcom/xingbook/ui/a/a;

    invoke-static {v2}, Lcom/xingbook/ui/a/a;->b(Lcom/xingbook/ui/a/a;)I

    move-result v2

    iget-object v3, p0, Lcom/xingbook/ui/a/b;->b:Landroid/util/SparseArray;

    invoke-virtual {v3, v4}, Landroid/util/SparseArray;->keyAt(I)I

    move-result v3

    invoke-static {v0, v1, v2, v3}, Landroid/os/Message;->obtain(Landroid/os/Handler;III)Landroid/os/Message;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Message;->sendToTarget()V

    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xb

    if-lt v0, v1, :cond_2

    iget-object v0, p0, Lcom/xingbook/ui/a/b;->b:Landroid/util/SparseArray;

    invoke-virtual {v0, v4}, Landroid/util/SparseArray;->removeAt(I)V

    :goto_1
    iget-object v0, p0, Lcom/xingbook/ui/a/b;->b:Landroid/util/SparseArray;

    invoke-virtual {v0}, Landroid/util/SparseArray;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/ui/a/b;->a:Lcom/xingbook/ui/a/a;

    iget-object v1, p0, Lcom/xingbook/ui/a/b;->b:Landroid/util/SparseArray;

    invoke-static {v0, v1}, Lcom/xingbook/ui/a/a;->a(Lcom/xingbook/ui/a/a;Landroid/util/SparseArray;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/ui/a/b;->b:Landroid/util/SparseArray;

    iget-object v1, p0, Lcom/xingbook/ui/a/b;->b:Landroid/util/SparseArray;

    invoke-virtual {v1, v4}, Landroid/util/SparseArray;->keyAt(I)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/util/SparseArray;->remove(I)V

    goto :goto_1
.end method
